<?php
/**
 * Created by PhpStorm.
 * User: ysk <yanshuaike171211@credithc.com>
 * Date: 2021/6/18
 * Time: 17:31
 */

namespace  api\modules\v1\test\actions\Test;

use api\base\BaseApiParams;

class TestParams extends BaseApiParams {

    public $id;
    public $sex;


    public function rules()
    {
        return [
            [['id','sex'], 'required'],
            [['id'], 'string'],
            [['sex'], 'integer'],
        ];
    }

    public function attributeLabels()
    {
        return [
            'id'    => 'ID',
            'sex'   => 'SEX'
        ];
    }

}
